package com.heu.blood.send.dao;

import com.heu.blood.send.entity.BloodSendEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heu.blood.send.vo.BloodInformationAndSendVo;
import com.heu.blood.send.vo.BloodSendVo;
import com.heu.blood.send.vo.BloodSendWithPatientVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author lyj
 * @email lyj@heu.com
 * @date 2024-10-09 16:13:46
 */
@Mapper
public interface BloodSendDao extends BaseMapper<BloodSendEntity> {

    List<BloodSendVo> selectSendBloodWithId(BloodSendEntity bloodSend);

    BloodSendWithPatientVo selectBloodSendInfoByPatientId(BloodSendVo bloodSend);

    List<BloodInformationAndSendVo> getBloodListUsedWithApplicationId(String applicationId);
}
